package com.zbdx.medicalzb.mapper;

import com.zbdx.medicalzb.entity.MaterialEntity;
import com.zbdx.medicalzb.model.MaterialModel;
import com.zbdx.medicalzb.param.MaterialParam;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 涛某
 * @version 1.0
 * @date 2023/9/4 10:23
 */
@Repository
public interface MaterialMapper {
    List<MaterialModel> getAllMaterial(MaterialParam param);

    int updateMaterial(MaterialEntity entity);

    int deleteMaterial(Long id);

    int saveMaterial(MaterialEntity mEntity);
}
